package com.student.course.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Date;

@Entity
@Table(name = "course_select_interval")
public class CourseSelectInterval implements Serializable {

    @Id
    private String course_setting_id;

    private Date start_select_class_time;

    private Date end_select_class_time;

    private Date regdate;

    private Date updatedate;

    public String getCourse_setting_id() {
        return course_setting_id;
    }

    public void setCourse_setting_id(String course_setting_id) {
        this.course_setting_id = course_setting_id;
    }

    public Date getStart_select_class_time() {
        return start_select_class_time;
    }

    public void setStart_select_class_time(Date start_select_class_time) {
        this.start_select_class_time = start_select_class_time;
    }

    public Date getEnd_select_class_time() {
        return end_select_class_time;
    }

    public void setEnd_select_class_time(Date end_select_class_time) {
        this.end_select_class_time = end_select_class_time;
    }

    public Date getRegdate() {
        return regdate;
    }

    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    @Override
    public String toString() {
        return "CourseSelectInterval{" +
                "course_setting_id='" + course_setting_id + '\'' +
                ", start_select_class_time=" + start_select_class_time +
                ", end_select_class_time=" + end_select_class_time +
                ", regdate=" + regdate +
                ", updatedate=" + updatedate +
                '}';
    }
}
